package com.bnz.factory;

import com.bnz.entity.Student;

// 创建student对象的工厂
// 静态工厂
public class StudentFactory {
    public static Student getStu(){
        // 创建Student对象
        return new Student();
    }
}
